//
//  guanZhuShangJiaCell.m
//  Wedding fantastic
//
//  Created by ZLM on 15/7/7.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "guanZhuShangJiaCell.h"

@implementation guanZhuShangJiaCell
-(void)dealloc{
    [_nameLabel release];
    [_imageV release];
    [_fans_countLabel release];
    [super dealloc];
}
-(instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self.imageV = [[UIImageView alloc] initWithFrame:CGRectMake(10*kWidth/375, 10*kHeight/667,140*kWidth/375,80*kHeight/667)];
        self.layer.cornerRadius = 10;
        [self.contentView addSubview:self.imageV];
        self.nameLabel = [[UILabel alloc]initWithFrame:CGRectMake(10*kWidth/375, 100*kHeight/667, 140*kWidth/375, 20*kHeight/667)];
        self.nameLabel.backgroundColor = [UIColor whiteColor];
        self.nameLabel.font = [UIFont systemFontOfSize:9];
        self.nameLabel.textColor = [UIColor redColor];
        [self.contentView addSubview:self.nameLabel];
        [self.nameLabel release];
        self.fans_countLabel = [[UILabel alloc]initWithFrame:CGRectMake(90*kWidth/375,120*kHeight/667 , 140*kWidth/375, 20*kHeight/667)];
        self.fans_countLabel.textColor = [UIColor orangeColor];
        self.fans_countLabel.font = [UIFont systemFontOfSize:9];
        self.fans_countLabel.backgroundColor = [UIColor whiteColor];
        [self.contentView addSubview:self.fans_countLabel];
        [self.fans_countLabel release];
        [self.imageV release];
        
    }
    return self;
}

@end
